import requests
import json

url = 'http://angelimg.spbeen.com'

headers = {
    'Referer': url,
    'Host': 'angelimg.spbeen.com',
}

data = {
    'key1': 'value1',
    'key2': 'value2',
    'key3': 'value3',
}

# response = requests.post(url, headers=headers, data=data)
# response = requests.post(url, headers=headers, data=json.dumps(data))
response = requests.post(url, headers=headers, data=str(data))
request = response.request

print(request.url)
print(request.body)

